﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Dukou.Domain
{
    using Dukou.DTO;

    /// <summary>
    /// 实体接口
    /// </summary>
    /// <typeparam name="TId">Id 数据类型</typeparam>
    public interface IEntity<TId> : IUniqueIdentifier
    {
        /// <summary>
        /// 获取 / 设置 Id
        /// </summary>
        TId Id { get; set; }
    }
}
